{% extends "layout.html" %}

{% block css_m %}

{% endblock %}
{% block js_m %}

{% endblock %}

{% block content_body %}
<div class="page-jumbotron center-block" style="width: 800px">
    <h1>添加登录用户</h1>
</div>
<div class="panel-body center-block" style="width: 800px">
    <form method="post" novalidate>
        {% csrf_token %}
        {% for field in form_add %}

        <div class="form-group">
            <label>{{ field.label }}</label>
            {{ field }}
            <span class="error_msg">{{ field.errors.0 }}</span>
        </div>

        {% endfor %}

        <button type="submit" class="btn btn-primary">提交</button>
        <a class="btn btn-default" href="{% url 'admin_accounts' %}">取 消</a>
    </form>

</div>








{% endblock %}
<div class="modal fade " id="add-modal_id" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
         aria-hidden="true" style="z-index: 10000">
        <div class="modal-dialog modal-lg" style="width: 1000px">
            <div class="modal-content">
                <div class="modal-header">

                    <h2 class="modal-title" id="myModalLabel">
                        订单确认：
                    </h2>
                </div>

                <div class="modal-body">


                </div>

                <div class="modal-footer">
                    <button type="button" class="btn btn-danger" id="m_conf" style="margin-left: 60px">确定
                    </button>
                    <button type="button" class="btn btn-default" id="m_close">取消
                    </button>

                </div>

            </div><!-- /.modal-content -->
        </div><!-- /.modal -->
    </div>
{% block content_bottom %}

{% endblock %}